import request from '@/LC/request';

export default {
	account: () =>
		request({
			url: '/api/recharge/account',
			method: 'GET',

			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	rechargeconfig: () =>
		request({
			url: '/api/recharge/rechargeconfig',
			method: 'GET',

			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	rechargepayshow: (data) =>
		request({
			url: '/api/recharge/rechargepayshow',
			method: 'GET',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	accountadd: (data) =>
		request({
			url: '/api/recharge/accountadd',
			method: 'POST',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	accountdel: (data) =>
		request({
			url: '/api/recharge/accountdel',
			method: 'POST',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	withdraw: (data) =>
		request({
			url: '/api/recharge/withdraw',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	recharge: (data) =>
		request({
			url: '/api/recharge/recharge',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	withdrawlist: (data) =>
		request({
			url: '/api/recharge/withdrawlist',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	rechargeWay: () =>
		request({
			url: '/api/rechargeWay',
			method: 'GET',

			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	transferWay: () =>
		request({
			url: '/api/transferWay',
			method: 'GET',

			custom: {
				showLoading: false,
				auth: true,
			},
		}),

	bindBank: (data) =>
		request({
			url: '/api/bindBank',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	bindUsdt: (data) =>
		request({
			url: '/api/bindUsdt',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	rechargeRecord: (data) =>
		request({
			url: '/api/rechargeRecord',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	withdrawalWay: (data) =>
		request({
			url: '/api/withdrawalWay',
			method: 'GET',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	withdrawal: (data) =>
		request({
			url: '/api/withdrawal',
			method: 'POST',
			data,
			custom: {

				showLoading: true,
				auth: true,
			},
		}),
	withdrawalBank: (data) =>
		request({
			url: '/api/withdrawalBank',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	withdrawalRecord: (data) =>
		request({
			url: '/api/withdrawalRecord',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	transferWay: (data) =>
		request({
			url: '/api/transferWay',
			method: 'GET',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	transfer: (data) =>
		request({
			url: '/api/transfer',
			method: 'POST',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	transferRecord: (data) =>
		request({
			url: '/api/transferRecord',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	rechargeRecord: (data) =>
		request({
			url: '/api/rechargeRecord',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	withdrawalRecord: (data) =>
		request({
			url: '/api/withdrawalRecord',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	currencyRecord: (data) =>
		request({
			url: '/api/currencyRecord',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	usdtInfo: (data) =>
		request({
			url: '/api/usdtInfo',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),
	bankInfo: (data) =>
		request({
			url: '/api/bankInfo',
			method: 'GET',
			data,
			custom: {
				showLoading: true,
				auth: true,
			},
		}),


};